package com.ajk.message.util;

import org.springframework.core.env.Environment;

public class ConfigUtil {
	
	private static Environment env;
	
	public void setEnv(Environment env) {
		ConfigUtil.env = env;
	}
	
	public static String getJpushAppKey(){
		String appKey = env.getProperty("jpush.AppKey.patient");
		return appKey;
	}
	
	public static String getJpushSecret(){
		String secret = env.getProperty("jpush.MasterSecret.patient");
		return secret;
	}

}
